package cn.itsource.ymcc.service;

import cn.itsource.ymcc.domain.Course;
import cn.itsource.ymcc.dto.CourseDetailData;
import cn.itsource.ymcc.dto.CourseDto;
import cn.itsource.ymcc.dto.CourseOrderDto;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Eric Chen
 * @since 2022-07-11
 */
public interface ICourseService extends IService<Course> {

    void save(CourseDto dto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    CourseDetailData detailData(Long id);

    CourseOrderDto info(String id);

    CourseOrderDto infoKill(String id,String orderNo);
}
